package killer.product.model;

import java.util.Arrays;

import org.springframework.web.multipart.MultipartFile;
 
public class ProductVO {
	private int productId;
	private String productName;
	private String continent;
	private String country;
	private String city;
	private int price;
	private String departureDate;
	private String arrivalDate;
	private int hits;
	private int likes;
	private int surplus;
	private String transportation;
	private double longitude;
	private double latitude;
	private String introduction;
	private String schedule;
	private String[] picture;
	private MultipartFile[] pictureFile;
	
	public ProductVO() {
		super();
		// TODO Auto-generated constructor stub
	}
	

	public ProductVO(String introduction, String schedule) {
		super();
		this.introduction = introduction;
		this.schedule = schedule;
	}


	public ProductVO(String productName, String continent, String country,
			String city, int price, String departureDate, String arrivalDate,
			int hits, int likes, int surplus, String transportation,
			double longitude, double latitude) {
		super();
		this.productName = productName;
		this.continent = continent;
		this.country = country;
		this.city = city;
		this.price = price;
		this.departureDate = departureDate;
		this.arrivalDate = arrivalDate;
		this.hits = hits;
		this.likes = likes;
		this.surplus = surplus;
		this.transportation = transportation;
		this.longitude = longitude;
		this.latitude = latitude;
	}

	public ProductVO(int productId, String productName, String continent,
			String country, String city, int price, String departureDate,
			String arrivalDate, int hits, int likes, int surplus,
			String transportation, double longitude, double latitude) {
		super();
		this.productId = productId;
		this.productName = productName;
		this.continent = continent;
		this.country = country;
		this.city = city;
		this.price = price;
		this.departureDate = departureDate;
		this.arrivalDate = arrivalDate;
		this.hits = hits;
		this.likes = likes;
		this.surplus = surplus;
		this.transportation = transportation;
		this.longitude = longitude;
		this.latitude = latitude;
	}


	public ProductVO(int productId, String productName, String continent,
			String country, String city, int price, String departureDate,
			String arrivalDate, int hits, int likes, int surplus,
			String transportation, double longitude, double latitude,
			String introduction, String schedule, String[] picture,
			MultipartFile[] pictureFile) {
		super();
		this.productId = productId;
		this.productName = productName;
		this.continent = continent;
		this.country = country;
		this.city = city;
		this.price = price;
		this.departureDate = departureDate;
		this.arrivalDate = arrivalDate;
		this.hits = hits;
		this.likes = likes;
		this.surplus = surplus;
		this.transportation = transportation;
		this.longitude = longitude;
		this.latitude = latitude;
		this.introduction = introduction;
		this.schedule = schedule;
		this.picture = picture;
		this.pictureFile = pictureFile;
	}


	public int getProductId() {
		return productId;
	}

	public void setProductId(int productId) {
		this.productId = productId;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getContinent() {
		return continent;
	}

	public void setContinent(String continent) {
		this.continent = continent;
	}

	public String getCountry() {
		return country;
	}

	public void setCountry(String country) {
		this.country = country;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public int getPrice() {
		return price;
	}

	public void setPrice(int price) {
		this.price = price;
	}

	public String getDepartureDate() {
		return departureDate;
	}

	public void setDepartureDate(String departureDate) {
		this.departureDate = departureDate;
	}

	public String getArrivalDate() {
		return arrivalDate;
	}

	public void setArrivalDate(String arrivalDate) {
		this.arrivalDate = arrivalDate;
	}

	public int getHits() {
		return hits;
	}

	public void setHits(int hits) {
		this.hits = hits;
	}

	public int getLikes() {
		return likes;
	}

	public void setLikes(int likes) {
		this.likes = likes;
	}

	public int getSurplus() {
		return surplus;
	}

	public void setSurplus(int surplus) {
		this.surplus = surplus;
	}

	public String getTransportation() {
		return transportation;
	}

	public void setTransportation(String transportation) {
		this.transportation = transportation;
	}

	public double getLongitude() {
		return longitude;
	}


	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}


	public double getLatitude() {
		return latitude;
	}


	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}


	public String getIntroduction() {
		return introduction;
	}


	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}


	public String getSchedule() {
		return schedule;
	}


	public void setSchedule(String schedule) {
		this.schedule = schedule;
	}


	public String[] getPicture() {
		return picture;
	}


	public void setPicture(String[] picture) {
		this.picture = picture;
	}


	public MultipartFile[] getPictureFile() {
		return pictureFile;
	}


	public void setPictureFile(MultipartFile[] pictureFile) {
		this.pictureFile = pictureFile;
	}


	/*@Override*/
	public String toString() {
		return "ProductVO [productId=" + productId + ", productName="
				+ productName + ", continent=" + continent + ", country="
				+ country + ", city=" + city + ", price=" + price
				+ ", departureDate=" + departureDate + ", arrivalDate="
				+ arrivalDate + ", hits=" + hits + ", likes=" + likes
				+ ", surplus=" + surplus + ", transportation=" + transportation
				+ ", longitude=" + longitude + ", latitude=" + latitude
				+ ", introduction=" + introduction + ", schedule=" + schedule
				+ ", picture=" + Arrays.toString(picture) + ", pictureFile="
				+ Arrays.toString(pictureFile) + "]";
	}


	
	
}
